projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88ec8c1
)
GCC4.6: Squash warning in cmd_ide.c
author
Marek Vasut
<
[email protected]
>
Tue, 25 Oct 2011 09:39:15 +0000
(11:39 +0200)
committer
Wolfgang Denk
<
[email protected]
>
Thu, 27 Oct 2011 21:54:03 +0000
(23:54 +0200)
cmd_ide.c: In function ‘ide_read’:
cmd_ide.c:1227:2: warning: format ‘%LX’ expects argument of type ‘long long
unsigned int’, but argument 3 has type ‘lbaint_t’ [-Wformat]
Signed-off-by: Marek Vasut <
[email protected]
>
Cc: Wolfgang Denk <
[email protected]
>
Cc: Simon Glass <
[email protected]
>
Cc: Mike Frysinger <
[email protected]
>
common/cmd_ide.c
patch
|
blob
|
history
diff --git
a/common/cmd_ide.c
b/common/cmd_ide.c
index da5189c37e0d027bb255d5cc49db13a7e84b8ddf..74e6504b2d85b13a49da02ce007eac0c532d5745 100644
(file)
--- a/
common/cmd_ide.c
+++ b/
common/cmd_ide.c
@@
-1224,7
+1224,7
@@
ulong ide_read (int device, lbaint_t blknr, ulong blkcnt, void *buffer)
lba48 = 1;
}
#endif
- debug
("ide_read dev %d start %L
X, blocks %lX buffer at %lX\n",
+ debug
("ide_read dev %d start %l
X, blocks %lX buffer at %lX\n",
device, blknr, blkcnt, (ulong)buffer);
ide_led (DEVICE_LED(device), 1); /* LED on */